package com.cy.personer.bean;

import org.springframework.stereotype.Component;

import java.io.Serializable;

//总结
@Component
public class Summary implements Serializable {

    //总结编号
    private Integer summaryId;
    //总结简称
    private String abbreviation;
    //总结内容
    private String content;

    public Summary() {
    }

    public Summary(Integer summaryId, String abbreviation, String content) {
        this.summaryId = summaryId;
        this.abbreviation = abbreviation;
        this.content = content;
    }

    @Override
    public String toString() {
        return "Summary{" +
                "summaryId=" + summaryId +
                ", abbreviation='" + abbreviation + '\'' +
                ", content='" + content + '\'' +
                '}';
    }

    public Integer getSummaryId() {
        return summaryId;
    }

    public void setSummaryId(Integer summaryId) {
        this.summaryId = summaryId;
    }

    public String getAbbreviation() {
        return abbreviation;
    }

    public void setAbbreviation(String abbreviation) {
        this.abbreviation = abbreviation;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
